<template>
  <!-- 根组件保留一个路由坑位 -->
  <RouterView/>
    <button @click="open1">点击调用轻提示</button>

</template>
<script>
import XtXMessage from '@/components/library/message'

export default {
  setup () {
    const open1 = () => {
      XtXMessage({
        message: '恭喜你，这是一条成功消息',
        type: 'success'
      })
    }
    return { open1 }
  }

}
</script>
